package com.ruoyi.system.wnjk.service.impl;

import java.util.List;

import com.ruoyi.system.wnjk.domain.po.WnjkDoctorEvaluation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.wnjk.mapper.WnjkDoctorEvaluationMapper;

import com.ruoyi.system.wnjk.service.IWnjkDoctorEvaluationService;

/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author ruoyi
 * @date 2025-03-05
 */
@Service
public class WnjkDoctorEvaluationServiceImpl implements IWnjkDoctorEvaluationService
{
    @Autowired
    private WnjkDoctorEvaluationMapper wnjkDoctorEvaluationMapper;

    /**
     * 查询【请填写功能名称】
     *
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public WnjkDoctorEvaluation selectWnjkDoctorEvaluationById(Long id)
    {
        return wnjkDoctorEvaluationMapper.selectWnjkDoctorEvaluationById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     *
     * @param wnjkDoctorEvaluation 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<WnjkDoctorEvaluation> selectWnjkDoctorEvaluationList(WnjkDoctorEvaluation wnjkDoctorEvaluation)
    {
        return wnjkDoctorEvaluationMapper.selectWnjkDoctorEvaluationList(wnjkDoctorEvaluation);
    }

    /**
     * 新增【请填写功能名称】
     *
     * @param wnjkDoctorEvaluation 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertWnjkDoctorEvaluation(WnjkDoctorEvaluation wnjkDoctorEvaluation)
    {
        return wnjkDoctorEvaluationMapper.insertWnjkDoctorEvaluation(wnjkDoctorEvaluation);
    }

    /**
     * 修改【请填写功能名称】
     *
     * @param wnjkDoctorEvaluation 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateWnjkDoctorEvaluation(WnjkDoctorEvaluation wnjkDoctorEvaluation)
    {
        return wnjkDoctorEvaluationMapper.updateWnjkDoctorEvaluation(wnjkDoctorEvaluation);
    }

    /**
     * 批量删除【请填写功能名称】
     *
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteWnjkDoctorEvaluationByIds(Long[] ids)
    {
        return wnjkDoctorEvaluationMapper.deleteWnjkDoctorEvaluationByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     *
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteWnjkDoctorEvaluationById(Long id)
    {
        return wnjkDoctorEvaluationMapper.deleteWnjkDoctorEvaluationById(id);
    }

    @Override
    public WnjkDoctorEvaluation selectWnjkDoctorEvaluationdoctorId(Long doctorId) {
        WnjkDoctorEvaluation wnjkDoctorEvaluation = wnjkDoctorEvaluationMapper.selectWnjkDoctorEvaluationdoctorId(doctorId);
        return wnjkDoctorEvaluation;
    }
}
